package com.villaday.idf.model2;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class ChaozhiTemaiHistory {

    @Id(autoincrement = true)
    private Long id;
    @Unique
    private String keyword;
    private long currentPrice;//存入时的时间

    public ChaozhiTemaiHistory(String keyword, long currentPrice) {
        this.keyword = keyword;
        this.currentPrice = currentPrice;
    }

    @Generated(hash = 752840204)
    public ChaozhiTemaiHistory(Long id, String keyword, long currentPrice) {
        this.id = id;
        this.keyword = keyword;
        this.currentPrice = currentPrice;
    }

    @Generated(hash = 1594700626)
    public ChaozhiTemaiHistory() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getKeyword() {
        return this.keyword;
    }

    public void setKeyword(String keyword) {
        this.keyword = keyword;
    }

    public long getCurrentPrice() {
        return this.currentPrice;
    }

    public void setCurrentPrice(long currentPrice) {
        this.currentPrice = currentPrice;
    }
}
